package com.xuecheng.api.content;

import com.xuecheng.api.content.model.CourseTeacherDTO;
import com.xuecheng.api.content.model.CourseTeacherVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * <h4>xuecheng</h4>
 * <p>教师</p>
 *
 * @author : by wujianming
 * @date : 2021-12-15 20:37
 **/
@Api("查询教师")
public interface TeacherApi {

    @ApiOperation("展示课程教师信息列表。")
    List<CourseTeacherDTO> queryTeacher(Long courseBaseId);


    @ApiOperation("課程新增修改")
    CourseTeacherDTO insertAndUpdateTeacherDTO(CourseTeacherVO curseTeacherVO);

    @ApiOperation("刪除教師信息")
    void deleteTeacher(Long courseBaseId,Long courseTeacherId);

}
